package com.example.day03;

/**
 * @author Lenovo
 */
public class Demo11 {public static void main(String[] args){
		/* for(int i =5;i<5;i++) {
			 System.out.println("我爱java");
		 }
		 System.out.println("-------");

		 int j=5;
		 while(j<5) {
			 System.out.println("我爱java");
			 j++;
		 }
		 System.out.println("-------");

		 int k=5;
		 do {
			  System.out.println("我爱java");
			  k++;
		 }while(k<5);
		 */

		 /*for(int i =1;i<5;i++) {
			 System.out.println("我爱java");
		 }
		 //System.out.println(i);
		 System.out.println("-------");

		 int j=1;
		 while(j<5) {
			 System.out.println("我爱java");
			 j++;
		 }
		 System.out.println(j);
		 System.out.println("-------");
		 */

		 /*for(;;) {
			 System.out.println("for");
		 }*/

		 /*while(true) {
			 System.out.println("while");
		 }*/

    do {
        System.out.println("do ......while");
    }while(true);

}
}
